obj_ballistic = argument0;
spr_origin_check = argument1;

touch_x = mouse_x;
touch_y = mouse_y;

b=instance_create(o_x,o_y-spr_origin_check,obj_ballistic);

x = touch_x - o_x;
y = touch_y - o_y;
if(x=0){
    if(y>0){
        b.image_angle = 270;
    }
    if(y<0){
        b.image_angle = 90;
    }
}else{ 
    b.image_angle = point_direction(o_x,o_y,touch_x,touch_y);
}
